// 伪造接口  mock包已安装
import Mock from 'mockjs'

import homeData from './data'

Mock.mock(/\/zyhome/, 'get', homeData.getHomeData)

// 删除单个
Mock.mock(/\/deleteOne/, 'post', homeData.deleteData)

// 批量删除
Mock.mock(/\/deleteOne/, 'post', homeData.deleteData)

//添加
Mock.mock(/\/addOne/, 'post', homeData.addOneData)

// 编辑
Mock.mock(/\/deleteall/, 'post', homeData.deleteallData)


// 编辑
Mock.mock(/\/alterOne/, 'post', homeData.alterOneData)
